#define _CRT_SECURE_NO_WARNINGS 1
#include"Binary_tree.h"

int main()
{
	char a[] = { "ABD##E#H##CF##G##" };
	int i = 0;
	BTNode* root = BinaryTreeCreate(a, &i);
	//InOrdere(root);
	//printf("\n");
	//LevelOrder(root);
	printf("\n");

	printf("%d ", BinaryTreeComplete(root));
	BinaryTreeDestory(root);
	root = NULL;
	/*BTNode* bt=CreatBinaryTree();
	printf("%d\n", BinaryTreeSize(bt));
	printf("%d\n", BinaryTreeLeafSize(bt));
	printf("%d\n", BinaryTreeLevelKSize(bt, 1));
	printf("%d\n", BinaryTreeLevelKSize(bt, 2));
	printf("%d\n", BinaryTreeLevelKSize(bt, 3));
	printf("%d\n", BinaryTreeLevelKSize(bt, 4));
	printf("%d\n", BinaryTreeLevelKSize(bt,5));
	BTNode* find = BinaryTreeFind(bt, 4);
	printf("%d\n", find->_data);*/

	return 0;
}